﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel.Description;
using System.ServiceModel.Channels;
using System.ServiceModel;

namespace Cherry.Agile.ServiceModel.Interceptor {
    public interface IEndpointPolicy {
        ServiceEndpoint CreateServiceEndpoint(Type implementedContract, string basicAddress);
        
        Binding DefaultBinding { get; }

        string GetAddress(Type contract, string baseAddress);
    }
}
